package kr.saeildamil.androidstudy.ch06;

import kr.saeildamil.androidstudy.R;
import kr.saeildamil.androidstudy.ch07.CustomViewEx;
import kr.saeildamil.androidstudy.ch07.DrawBitmapEx;
import kr.saeildamil.androidstudy.ch07.PrePaint;
import kr.saeildamil.androidstudy.ch07.ToastLayoutEx;
import kr.saeildamil.androidstudy.ch07.Vibrate;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch06Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch06_main);
	}
	public void mOnClick(View v){
		switch(v.getId()){
		case R.id.ch06_btn01:
			startActivity(new Intent(this, MultiPageEx.class));
			break;
		case R.id.ch06_btn02:
			startActivity(new Intent(this, CodeLayout.class));
			break;
		case R.id.ch06_btn03:
			startActivity(new Intent(this, InflationEx.class));
			break;
		case R.id.ch06_btn04:
			startActivity(new Intent(this, LayoutParameterEx.class));
			break;
		case R.id.ch06_btn05:
			startActivity(new Intent(this, SetParameterEX.class));
			break;
		case R.id.ch06_btn06:
			startActivity(new Intent(this, GridLayoutEx.class));
			break;
		case R.id.ch06_btn07:
			startActivity(new Intent(this, CellPosition.class));
			break;
		case R.id.ch06_btn08:
			startActivity(new Intent(this, CellSpan.class));
			break;
		case R.id.ch06_btn09:
			startActivity(new Intent(this, TwoLine.class));
			break;
		case R.id.ch06_btn10:
			startActivity(new Intent(this, InputForm.class));
			break;
	
		}
	}
}
